/*
 * shape_rectangle.h
 *
 *  Created on: Jul 4, 2008
 *      Author: Carlos Oliveira
 */

#ifndef SHAPE_RECTANGLE_H_
#define SHAPE_RECTANGLE_H_

#include "shape.h"
#include "drawPrimitives.h"

typedef struct rectangle_
{
	Shape shape;
	int x1, y1;
	int x2, y2;
} ShapeRectangle;

ShapeRectangle *rect_new(GContext context,
		int x1, int y1, int x2, int y2);

#endif /* SHAPE_RECTANGLE_H_ */
